





//
//  NGovOnlineCell.m
//  nncloud
//
//  Created by macfai on 2018/11/28.
//  Copyright © 2018 macfai. All rights reserved.
//

#import "NGovOnlineCell.h"

@implementation NGovOnlineCell

- (void)awakeFromNib {
    
    [super awakeFromNib];
    
    self.selectionStyle = 0;
    self.dialBtn.layer.cornerRadius = 5.f;
    self.dialBtn.layer.masksToBounds = YES;
    self.gotoNetBtn.layer.cornerRadius = 5.f;
    self.gotoNetBtn.layer.masksToBounds = YES;
    //字体加粗
    [self.name setFont:[UIFont boldSystemFontOfSize:14]];
    
    // Initialization code
}

- (void)setModel:(NGovonlineModel *)model{
    
    _model = model;
    self.name.text = model.governmentOnlineName;
    self.telLabel.text = model.governmentOnlinePhone;
    self.mailLabel.text = model.governmentOnlineEmail;
    self.addLabel.text = model.governmentOnlineAddress;
    self.netLabel.text = model.governmentOnlineWebsite;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    
    [super setSelected:selected animated:animated];

    
    // Configure the view for the selected state
}

@end
